/**
 * demo
 */
import tem from './index.html'
import $_fn from '~plugins'
class demoCtrl {
    constructor($scope, $rootScope) {
        $scope.cancel = function () {
            $rootScope.$uiDirectiveModal.close() //关闭方法
        }
    }
}
demoCtrl.$inject = ['$scope', '$rootScope']
module.exports = angular.module('directive.demo', []).directive('demo', function () {
    return {
        template: tem,
        replace: true,
        controller: demoCtrl
    }
}).name